import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/patient-address/list',
    method: 'get',
    params
  })
}

export function addOrEdit(data) {
  return request({
    url: '/patient-address/addOrEdit',
    method: 'post',
    data
  })
}


export function del(data) {
  return request({
    url: '/patient-address/remove/'+data,
    method: 'delete',
    data
  })
}